package com.house365.updown.download;

import java.lang.reflect.Field;

import android.database.Cursor;

import com.house365.core.bean.BaseBean;
import com.house365.core.reflect.ReflectException;
import com.house365.core.reflect.ReflectUtil;

/**
 * @author py
 * @date 2013-5-10
 * @comment
 */
public class DFile extends BaseBean {
	// 数据库主键，暂时无用
	private int identity;
	// 外接用来判断的id
	private String outerid;
	// download manager对应的id
	private long referId;
	// 文件
	private String remoteFileUri;

	// 文件大小
	private long totalSize;

	private long downSize;

	private int status;

	private int reason;

	private String localFileUri;

	
	private int type;//队列状态，	参考DownloaderDBService.public static final int QUEUE = 1;public static final int DOWNLOADING = 2;public static final int DOWNLOADED = 3;
	// 优先级，1-10，默认为5，值越大，优先级越高
	private int priority = 5;

	public String getRemoteFileUri() {
		return remoteFileUri;
	}

	public void setRemoteFileUri(String remoteFileUri) {
		this.remoteFileUri = remoteFileUri;
	}

	public String getLocalFileUri() {
		return localFileUri;
	}

	public void setLocalFileUri(String localFileUri) {
		this.localFileUri = localFileUri;
	}

	public long getReferId() {
		return referId;
	}

	public void setReferId(long referId) {
		this.referId = referId;
	}

	public long getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(long totalSize) {
		this.totalSize = totalSize;
	}

	public long getDownSize() {
		return downSize;
	}

	public void setDownSize(long downSize) {
		this.downSize = downSize;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getReason() {
		return reason;
	}

	public void setReason(int reason) {
		this.reason = reason;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public int getIdentity() {
		return identity;
	}

	public void setIdentity(int identity) {
		this.identity = identity;
	}

	public String getOuterid() {
		return outerid;
	}

	public void setOuterid(String outerid) {
		this.outerid = outerid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	
}
